package com.currency.service;

import com.currency.exception.AppException;
import com.currency.pojo.WytCurrencyBankcardInfoPojo;
import com.currency.request.BindOilCardRequest;
import com.currency.request.ThirdBindRequest;
import com.currency.response.BaseResponse;
import com.currency.response.QueryAccountResponse;
import org.springframework.web.bind.annotation.RequestBody;

public interface AccountService {
    BaseResponse updateCard(WytCurrencyBankcardInfoPojo request) throws AppException;

    BaseResponse bindCard(@RequestBody WytCurrencyBankcardInfoPojo request) throws AppException;

    BaseResponse unbindOilCard(@RequestBody BindOilCardRequest request) throws AppException;

    BaseResponse bindOilCard(@RequestBody BindOilCardRequest request) throws AppException;

    BaseResponse thirdBind(@RequestBody ThirdBindRequest request) throws AppException;

    QueryAccountResponse query(String userId) throws AppException;

    BaseResponse repayArrears(String userId) throws AppException;

    BaseResponse queryArrears(String userId);

}
